package ui.activity.wallet.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.wallet.biz.RewardsBiz;
import ui.activity.wallet.contract.RewardsContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class RewardsModule {
    private RewardsContract.View view;

    public RewardsModule(RewardsContract.View view) {
        this.view = view;
    }

    @Provides
    public RewardsContract.View provideView() {
        return view;
    }

    @Provides
    public RewardsBiz provideBiz() {
        return new RewardsBiz();
    }
}